SftTree/NET 2.0

EditNavigate Method, SftTree Class

Softel vdm, Inc.

Positions cell editing on another cell.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Function EditNavigate( ByVal Direction As EditNavigateEnum ) As Boolean

C#   

public bool EditNavigate( EditNavigateEnum Direction );

C++   

public: bool EditNavigate( EditNavigateEnum Direction );

Direction

The direction.

EditNavigateEnum

Value

Description

Up

1

The next cell above the current cell.

Down

2

The next cell below the current cell.

Left

3

The cell to the left of the current cell.

Right

4

The cell to the right of the current cell.

Home

5

The first editable cell in the control.

End

6

The last editable cell in the control.

Return Value

Returns True if cell editing has been repositioned successfully, otherwise False.

Comments

The EditNavigate method positions cell editing on another cell.

While cell editing is active, this method can be used to implement cell navigation. The cell currently being edited is ended, the EditValidate event occurs and the next cell in the specified direction is edited.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com